-- 显示血量
TuiHealth = CreateFrame('Frame')
TuiHealth.Events = {
    ['ADDON_LOADED'] = function(self)
        self:UnregisterEvent('ADDON_LOADED')
        local TargetFrameHealthBarText = _G['TargetFrameTextureFrame']:CreateFontString('TargetFrameHealthBarText',
                                             'BACKGROUND', 'TextStatusBarText')
        TargetFrameHealthBarText:SetPoint('CENTER', -50, 3)
        TargetFrameHealthBarText:SetShown(TuiDB.IsHealth)

        if TuiDB.IsHealth then
            _G['TargetFrameHealthBar'].TextString = TargetFrameHealthBarText
        end

    end
}
